import random
listone=[random.randint(0,100) for i in range(50)]
print('生成的列表为: ',listone)
for i in listone[::-1]:
    if i%2!=0:
        listone.remove(i)
print('删除奇数后的列表: ',listone)
